package com.lanswon.qzsmk.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.lanswon.qzsmk.model.ChangeCard;
import com.lanswon.qzsmk.vo.CancelCardInfo;
import com.lanswon.qzsmk.vo.ChangeCardInfo;
import com.lanswon.qzsmk.vo.LossCardInfo;

@Repository
public interface ChangeCardMapper {
   
	
	/**
	 * 查询满足条件的换卡信息
	 * @param cc
	 * @return
	 */
	List<ChangeCard> queryChangeCard(ChangeCardInfo cc);
	
	
	/**
	 * 查询满足条件的换卡信息总数
	 * @param cc
	 * @return
	 */
	int queryChangeCardCount(ChangeCardInfo cc);
	
	/**
	 * 查询满足挂失条件的信息
	 * @param cc
	 * @return
	 */
	List<ChangeCard> queryLossCard(LossCardInfo lci);
	
	/**
	 * 查询满足注销条件的信息
	 * @param cc
	 * @return
	 */
	List<ChangeCard> queryCancelCard(CancelCardInfo cci);
	
	/**
	 * 查询满足注销条件的信息总数
	 * @param cc
	 * @return
	 */
	int queryCancelCardCount(CancelCardInfo cci);
	
}